package com.shanzmoo.db.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shanzmoo.db.order.entity.OutletOrderEntity;
import com.shanzmoo.db.order.mapper.OutletOrderMapper;
import com.shanzmoo.db.order.service.IOutletOrderService;
import com.shanzmoo.db.report.entity.vo.ProductSalesVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 门店订单 服务实现类
 * </p>
 *
 * @author Gzhao
 * @since 2020-12-14
 */
@Service
public class OutletOrderServiceImpl extends ServiceImpl<OutletOrderMapper, OutletOrderEntity> implements IOutletOrderService {

    @Override
    public String checkDeliveryOver(String orderNo) {
        return baseMapper.checkDeliveryOver(orderNo);
    }

    @Override
    public List<ProductSalesVO> getProductSales() {
        return baseMapper.getProductSales();
    }
}
